package com.ruoyi.erp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Id;

import java.util.Date;

/**
 * 周报分享人列表对象 erp_weekly_record
 *
 * @author ruoyi
 * @date 2024-10-14
 */
@Data
@TableName("erp_weekly_record")
public class ErpWeeklyRecord{
    private static final long serialVersionUID = 1L;

    /** 分享人ID */
    @Excel(name = "分享人ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String userId;

    /** 状态(0 未读1 已读 ) */
    @Excel(name = "状态(0 未读1 已读 )")
    private String status;

    /** 周报id */
    @Excel(name = "周报id")
    private String weeklyId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date readTime;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String userStatus;

    @TableField(exist = false)
    private String avatar;

}
